a = 1
while(a<10):
    print((10-a)*' ',(2*a-1)*'*',sep="")
    a+=1